package com.sec.android.app.myfiles.feature.mousekeyboard;

import com.sec.android.app.myfiles.MyFilesTestRunner;

import junit.framework.Assert;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(MyFilesTestRunner.class)
public class testMouseKeyboardImp {
    private MouseKeyboardImp mImp;

    @Before
    public void setUp() throws Exception {
        mImp = new MouseKeyboardImp();
    }

    @After
    public void tearDown() throws Exception {

    }

    @Test
    public void testIsCtrlCopied() {
        Assert.assertFalse(mImp.isCtrlCopied());
    }

    @Test
    public void testSetCtrlCopy() {
        mImp.setCtrlCopy(true);
        Assert.assertTrue(mImp.isCtrlCopied());
    }

    @Test
    public void testIsCtrlMoved() {
        Assert.assertFalse(mImp.isCtrlMoved());
    }

    @Test
    public void testSetCtrlMove() {
        mImp.setCtrlMove(true);
        Assert.assertTrue(mImp.isCtrlMoved());
    }

    @Test
    public void testIsShiftPressed() {
        Assert.assertFalse(mImp.isShiftPressed());
    }

    @Test
    public void testSetShiftPress() {
        mImp.setShiftPress(true);
        Assert.assertTrue(mImp.isShiftPressed());
    }

    @Test
    public void testIsCtrlPressed() {
        Assert.assertFalse(mImp.isCtrlPressed());
    }

    @Test
    public void testSetCtrlPress() {
        mImp.setCtrlPress(true);
        Assert.assertTrue(mImp.isCtrlPressed());
    }
}